<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>大发系统 后台管理</title>

		<meta http-equiv="pragma" content="no-cache">
		<link rel="stylesheet" type="text/css"
			href="ext/resources/css/ext-all.css">
		<script type="text/javascript" src="ext/bootstrap.js">
</script>
		<script type="text/javascript" src="/ext/locale/ext-lang-zh_CN.js">
</script>
		<script type="text/javascript">
//创建tab页面
var tabPanel = Ext.create('Ext.tab.Panel', {
	region : 'center',
	margins : '0 0 0 0',
	// plugins : new Ext.ux.TabCloseMenu(),
	enableTabScroll : true,
	activeTab : 0,
	resizeTabs : true, // turn on tab resizing
	minTabWidth : 115,
	tabWidth : 135,
	enableTabScroll : true,
	items : [ {
		id : 'workSpace',
		title : '首页',
		treePath : '',
		closable : false,
		html : ''
	} ]
});
Ext
		.onReady(function() {
			Ext
					.create(
							'Ext.container.Viewport',
							{
								layout : 'border',//表格布局
								items : [
										{
											title : '大发系统管理后台',
											// html : '上边',
											region : 'north',//指定子面板所在区域为north
											height : 28,
											collapsible : false
										},
										{
											title : '操作区',
											html : '',
											region : 'west',//指定子面板所在区域为west
											margins : '0 0 0 3',
											collapsible : true,
											layout : 'accordion',
											split : true,
											width : 200,
											minSize : 175,
											maxSize : 400,
											layoutConfig : {
												animate : true
											},
											items : [
													{
														id : 'west_nav',
														title : '导航栏',
														border : false,
														html : '<div id=\'div_navigation\' style=\'overflow:auto;width:100%;height:100%\'></div>'
													}, {
														id : 'west-setting',
														title : '快捷键',
														border : false
													}, {
														id : 'west-about',
														title : '技术支持',
														border : false
													} ]
										}, tabPanel ]
							});
		});
</script>
	</head>

	<body>
	</body>
</html>
